<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>后台登陆页面</title>
    <!--  springboot引用了themeleaf无法引入css  需要通过th：href多一层定义 -->
    <link rel="stylesheet" type="text/css" media="screen" th:href="@{/css/admin.css}" href="../static/css/admin.css">
</head>
<body>
<div id="frm">
<div id="title">
    后台登陆
</div>

   <form id="form" action="/user/login" method="post">
       <table id="table">
           <tr>
               <td id="td1">用户名</td>
               <td id="td2">
                   <input type="text" name="uname" required="required">
               </td>
           </tr>
           <tr>
               <td id="td3">密码</td>
               <td id="td4"><input type="password" name="upassword" required="required"></td>
           </tr>
               <td id="td5"><input type="submit" value="登陆"></td>
               <td id="td6"><input type="reset" value="重置"></td>
              <div th:text="${error}" style="color:red;"}></div>
           </tr>
       </table>

   </form>
</div>
</body>
</html>